Silent Installation and Upgrade on UNIX / LINUX

Silent mode enables the installation or upgrade of Dollar Universe Application Servers in batch mode without user intervention.

Record the Response File

An initial instance is installed or upgraded interactively to record the installation / upgrade parameters in a text file which will be used for the silent installation / upgrade.

Installation:

./unirun -i -r -f filename

Upgrade:

./unirun -u -r -f filename

The commands above launch the interactive installation / upgrade. Answers will be recorded in the output file specified by the –f argument.

If no output file is specified, answers will be recorded in the install.file file located in the kit directory.

Example of install.file for an interactive installation

# CLUSTERTYPE :

CLUSTERTYPE no

# UVMSNOW : Do you want to register to the UVMS now

UVMSNOW y

# CENTRALHOST : Univiewer Management Server hostname

CENTRALHOST vmstluni99.automic.com

# CENTRALPORT : Univiewer Management Server port number

CENTRALPORT 4184

# CENTRALLOGIN : Univiewer Management Server administrator login ID

CENTRALLOGIN admin

# CENTRALPASSWD : Univiewer Management Server administrator password

CENTRALPASSWD LjY+DCoGUEE8JTwXIBVZVyw5

# COMPANY : DUAS company name

COMPANY TST600

# NODE : DUAS node name

NODE default_value

# NODETAG : DUAS node tags

NODETAG

# NODEHOST : DUAS hostname

NODEHOST default_value

# INSTALLDIR : DUAS root directory (full path)

INSTALLDIR /var/opt/AUTOMIC/DUAS/TST600_vmstluni99.automic.com

# AREA_A : Do you want to configure DUAS Application area (A)?

AREA_A n

# AREA_I : Do you want to configure DUAS Integration area (I)?

AREA_I n

# AREA_S : Do you want to configure DUAS Simulation  area (S)?

AREA_S n

# INSTALL_SAP : Do you want to remove(r), keep(k) or activate(a) a manager for SAP solutions ("r", "k" or "a", default is "k")?

INSTALL_SAP k

# CONFIG_SAP : If you have already defined a configuration, give the full path of the folder containing your "uxjcs.ini" file or hit return.

CONFIG_SAP

# INSTALL_OAPP : Do you want to remove(r), keep(k) or activate(a) a manager for Oracle Application ("r", "k" or "a", default is "k")?

INSTALL_OAPP k

# CONFIG_OAPP : If you have already defined a configuration, give the full path of the folder containing your

"uxoapp_db_user.xml" file or hit return.

CONFIG_OAPP

# INSTALL_JAVA : Do you want to remove(r), keep(k) or activate(a) a manager for Java ("r", "k" or "a", default is "k")?

INSTALL_JAVA k

# JAVA_PATH : Give the full path of the command?

JAVA_PATH

# PORTDEF : Do you want to use default port numbers?

PORTDEF n

# PORT : Enter the DUAS TCP port base number

PORT 12600

# ADMUSER : Give the already existing username, by default root user will be administrator

ADMUSER root

# EXECPATH : Enter the full path to the binaries directory

EXECPATH default_value

# LOGPATH : Enter the full path to the log directory

LOGPATH default_value

To upgrade a Dollar Universe Application Server, the following information is recorded in the install.file:

Example of an install file for an interactive upgrade:

# ENVFILE :

ENVFILE /var/opt/AUTOMIC/DUAS/<company>_<node>/unienv.ksh

# UPGRADETYPE :

UPGRADETYPE DUAS_V6

Install from the Response File

Run the command shown below:

./unirun -i -s -f filename

Upgrade from the Response File

Run the command shown below:

./unirun -u -s -f filename

The -f argument is mandatory in the installation / upgrade phase.